package com.itheima.d3_abstract;

public abstract class Animal {

    public abstract void eat();
    public abstract void drank();
}

class Cat extends Animal {

    @Override
    public void eat() {
        System.out.println("爱吃鱼");
    }

    @Override
    public void drank() {
        System.out.println("爱抓老鼠");
    }
}
